package com.ldd.malphite.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ldd.malphite.entity.AuthorCount;
import com.ldd.malphite.enums.RunoobStatus;
import lombok.Data;

import java.util.Date;

@Data
public class BookDto {
    private int runoobId;
    private String runoobTitle;
    private String runoobAuthor;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date submissionDate;
    private RunoobStatus runoobStatus;
    private AuthorCount authorCount;

}
